package com.cjm.pattern.p1.strategy;

public class BehaviorContext {
    private Penguin penguin;
    public BehaviorContext(Penguin penguin) {
        this.penguin = penguin;
    }

    public void setPenguin(Penguin penguin) {
        this.penguin = penguin;
    }

    public void everyDay() {
        penguin.eating();
        penguin.sleeping();
        penguin.beating();
    }
}
